package kr.hkit.summart_java.erp.dto;

public class Department {
	private int detpNo;
	private String deptName;
	private int floor;
	public Department() {
		
	}
	public Department(int detpNo, String deptName, int floor) {
		this.detpNo = detpNo;
		this.deptName = deptName;
		this.floor = floor;
	}
	public Department(int dno) {
		this.detpNo = detpNo;
	}
	public int getDetpNo() {
		return detpNo;
	}
	public void setDetpNo(int detpNo) {
		this.detpNo = detpNo;
	}
	public String getDeptName() {
		return deptName;
	}
	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
	public int getFloor() {
		return floor;
	}
	public void setFloor(int floor) {
		this.floor = floor;
	}
	@Override
	public String toString() {
		return String.format("Department [detpNo=%s, deptName=%s, floor=%s]"+"\n",
				detpNo, deptName, floor);
	}
}
